// 1. anonymous
/* function greet(person: { name: string, age: number }) {
    return `Hello ${ person.name }`;
} */

// 2. interfaces
/* interface Person {
    name: string;
    age: number;
}

function greet(person: Person) {
    return `Hello ${ person.name }`;
} */

// 3. type alias
type Person = {
    name: string;
    age: number;
}

function greet(person: Person) {
    return `Hello ${ person.name }`;
}

export {};